package com.snapp.ejb.interfaces;

import java.util.HashMap;
import java.util.Vector;

import com.snapp.util.object.model.ObjectModel;

public interface SNAppManager {

	public ObjectModel load(String dboGlobalId, HashMap<String,String> params);
	public ObjectModel save(String dboGlobalId, HashMap<String,Object> params);
	public ObjectModel saveList(String dboGlobalId, HashMap<String,Object> params, String delimiter);
	public Vector<ObjectModel> list(String dboGlobalId, HashMap<String,String> params);
	public int count(String dboGlobalId, HashMap<String,String> params);
	public void delete(String dboId, HashMap<String, String> params);

	public ObjectModel load(String dboGlobalId, String params);
	public Vector<ObjectModel> list(String dboGlobalId, String params);
	public int count(String dboGlobalId, String params);
	public void delete(String dboId, String params);

	public ObjectModel getObjectModelInfo(String dboGlobalId);
}
